<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>旅行日记</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="<?php echo base_url('static/css/bootstrap.min.css'); ?>" rel="stylesheet" media="screen">
    <link href="<?php echo base_url('static/css/style.css'); ?>" rel="stylesheet" media="screen">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="brand" href="index.html">旅行日记</a>

            <p class="userinfo pull-right">
                <a href="#">David</a>
                <a href="<?php echo base_url("main/index");?>">退出</a>
            </p>
        </div>
    </div>
</div>

<div class="container">
    <ul class="nav nav-tabs">
        <li><a href="index.html">返回首页</a></li>
        <li><a href="user_info.php">个人资料</a></li>
        <li class="active"><a href="article_new.php">编辑文章</a></li>
    </ul>
    <div class="row-fluid">
        <div class="form">
            <form action="" method="post" class="form-horizontal">
                <div class="control-group">
                    <label for="title">标题</label>
                    <input type="text" id="title" class="txt" name="title" value="2015仲夏台湾北部行">
                </div>
                <div class="control-group">
                    <label for="description">摘要</label>
                    <textarea id="description" class="desc" name="description" rows="10">2015仲夏台湾北部行</textarea>
                </div>
                <div class="control-group">
                    <label for="tag">标签 <span class="tip">(多个标签之间用空格或者“,”隔开)</span></label>
                    <input type="text" id="tag" class="txt" name="tag" value="台湾">
                </div>
                <div class="control-group">
                    <label for="content">内容</label>
                    <textarea id="content" name="content" rows="10"></textarea>
                </div>
                <div class="control-group">
                    <button type="submit" class="btn btn-success">提交</button>
                </div>
            </form>
        </div>
        <!--/row-->
        <hr>
        <footer>
            <p>&copy; Copyright 2015 </p>
        </footer>
    </div>
    <script src="<?php echo base_url('static/js/bootstrap.min.js'); ?>"></script>
</body>
</html>